//
//  ARVote.m
//  AriseSamePro
//
//  Created by 包日守 on 15/11/2.
//  Copyright © 2015年 Arise. All rights reserved.
//

#import "ARVote.h"


@implementation ARVote
- (void) setValuesForKeysWithDictionary:(NSDictionary<NSString *,id> *)keyedValues
{
    [super setValuesForKeysWithDictionary:keyedValues];
    
    NSMutableArray *marray = [NSMutableArray array];
    for (NSDictionary *dict in self.choices) {
        ARChoices *choices = [[ARChoices alloc] init];
        [choices setValuesForKeysWithDictionary:dict];
        [marray addObject:choices];
    
    }
    
    self.choices = marray;

}
- (void) setValue:(id)value forUndefinedKey:(NSString *)key
{

}
@end
